package com.veer.shop.pojo;

import java.math.BigDecimal;
import java.util.List;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import com.veer.shop.utils.DateTimeUtil;

/**
 * 商品实体类
 * 
 * @author WangBin
 * 2020年12月29日-下午1:45:55
 */
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class Product {
	private Integer product_id;
	private String product_name;
	private String product_bn;
	private String product_type;
	private Integer store_id = 0;
	private Integer category_id;
	private String platform;
	private BigDecimal market_price;
	private BigDecimal sales_price;
	private BigDecimal purchase_price;
	private BigDecimal cost_price;
	private Integer qty = 0;
	private Integer min_qty = 0;
	private Integer use_config_min_qty = 1;
	private Integer is_qty_decimal = 0;
	private Integer min_sale_qty = 0;
	private Integer use_config_min_sale_qty = 1;
	private Integer max_sale_qty = 10000;
	private Integer use_config_max_sale_qty = 0;
	private String unit;
	private float weight = 0.00f;
	private Integer brand_id;
	private String tag_ids;
	private List<String> gallery;
	private List<Integer> attribute_ids;
	private String short_description;
	private String description;
	private Integer is_virtual = 0;
	private Integer is_show_front = 1;
	private Integer is_gift = 0;
	private Integer is_presale = 0;
	private Integer is_deleted = 0;
	private String remark;
	private Integer is_actived = 1;
	private String op_name;
	private String created_at;
	private String updated_at = DateTimeUtil.getDateTime();
	public String getOpName() {
		return op_name;
	}
	public void setOpName(String op_name) {
		this.op_name = op_name;
	}
	public Integer getIsShowFront() {
		return is_show_front;
	}
	public void setIsShowFront(Integer is_show_front) {
		this.is_show_front = is_show_front;
	}
	public String getPlatform() {
		return platform;
	}
	public void setPlatform(String platform) {
		this.platform = platform;
	}
	public Integer getProductId() {
		return product_id;
	}
	public void setProductId(Integer product_id) {
		this.product_id = product_id;
	}
	public String getProductName() {
		return product_name;
	}
	public void setProductName(String product_name) {
		this.product_name = product_name;
	}
	public String getProductBn() {
		return product_bn;
	}
	public void setProductBn(String product_bn) {
		this.product_bn = product_bn;
	}
	public String getProductType() {
		return product_type;
	}
	public void setProductType(String product_type) {
		this.product_type = product_type;
	}
	public Integer getStoreId() {
		return store_id;
	}
	public void setStoreId(Integer store_id) {
		this.store_id = store_id;
	}
	public Integer getCategoryId() {
		return category_id;
	}
	public void setCategoryId(Integer category_id) {
		this.category_id = category_id;
	}
	public BigDecimal getMarketPrice() {
		return market_price;
	}
	public void setMarketPrice(BigDecimal market_price) {
		this.market_price = market_price;
	}
	public BigDecimal getSalesPrice() {
		return sales_price;
	}
	public void setSalesPrice(BigDecimal sales_price) {
		this.sales_price = sales_price;
	}
	public BigDecimal getPurchasePrice() {
		return purchase_price;
	}
	public void setPurchasePrice(BigDecimal purchase_price) {
		this.purchase_price = purchase_price;
	}
	public BigDecimal getCostPrice() {
		return cost_price;
	}
	public void setCostPrice(BigDecimal cost_price) {
		this.cost_price = cost_price;
	}
	public Integer getQty() {
		return qty;
	}
	public void setQty(Integer qty) {
		this.qty = qty;
	}
	public Integer getMinQty() {
		return min_qty;
	}
	public void setMinQty(Integer min_qty) {
		this.min_qty = min_qty;
	}
	public Integer getUseConfigMinQty() {
		return use_config_min_qty;
	}
	public void setUseConfigMinQty(Integer use_config_min_qty) {
		this.use_config_min_qty = use_config_min_qty;
	}
	public Integer getIsQtyDecimal() {
		return is_qty_decimal;
	}
	public void setIsQtyDecimal(Integer is_qty_decimal) {
		this.is_qty_decimal = is_qty_decimal;
	}
	public Integer getMinSaleQty() {
		return min_sale_qty;
	}
	public void setMinSaleQty(Integer min_sale_qty) {
		this.min_sale_qty = min_sale_qty;
	}
	public Integer getUseConfigMinSaleQty() {
		return use_config_min_sale_qty;
	}
	public void setUseConfigMinSaleQty(Integer use_config_min_sale_qty) {
		this.use_config_min_sale_qty = use_config_min_sale_qty;
	}
	public Integer getMaxSaleQty() {
		return max_sale_qty;
	}
	public void setMaxSaleQty(Integer max_sale_qty) {
		this.max_sale_qty = max_sale_qty;
	}
	public Integer getUseConfigMaxSaleQty() {
		return use_config_max_sale_qty;
	}
	public void setUseConfigMaxSaleQty(Integer use_config_max_sale_qty) {
		this.use_config_max_sale_qty = use_config_max_sale_qty;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public float getWeight() {
		return weight;
	}
	public void setWeight(float weight) {
		this.weight = weight;
	}
	public Integer getBrandId() {
		return brand_id;
	}
	public void setBrandId(Integer brand_id) {
		this.brand_id = brand_id;
	}
	public String getTagIds() {
		return tag_ids;
	}
	public void setTagIds(String tag_ids) {
		this.tag_ids = tag_ids;
	}
	public List<String> getGallery() {
		return gallery;
	}
	public void setGallery(List<String> gallery) {
		this.gallery = gallery;
	}
	public List<Integer> getAttributeIds() {
		return attribute_ids;
	}
	public void setAttributeIds(List<Integer> attribute_ids) {
		this.attribute_ids = attribute_ids;
	}
	public String getShortDescription() {
		return short_description;
	}
	public void setShortDescription(String short_description) {
		this.short_description = short_description;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public Integer getIsVirtual() {
		return is_virtual;
	}
	public void setIsVirtual(Integer is_virtual) {
		this.is_virtual = is_virtual;
	}
	public Integer getIsGift() {
		return is_gift;
	}
	public void setIsGift(Integer is_gift) {
		this.is_gift = is_gift;
	}
	public Integer getIsPresale() {
		return is_presale;
	}
	public void setIsPresale(Integer is_presale) {
		this.is_presale = is_presale;
	}
	public Integer getIsDeleted() {
		return is_deleted;
	}
	public void setIsDeleted(Integer is_deleted) {
		this.is_deleted = is_deleted;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Integer getIsActived() {
		return is_actived;
	}
	public void setIsActived(Integer is_actived) {
		this.is_actived = is_actived;
	}
	public String getCreatedAt() {
		return created_at;
	}
	public void setCreatedAt(String created_at) {
		this.created_at = created_at;
	}
	public String getUpdatedAt() {
		return updated_at;
	}
	public void setUpdatedAt(String updated_at) {
		this.updated_at = updated_at;
	}
}
